/*!
\copyright  Copyright (c) 2021-2022 Qualcomm Technologies International, Ltd.
            All Rights Reserved.
            Qualcomm Technologies International, Ltd. Confidential and Proprietary.

\version    
\file       
\brief      Contains stub implementations for Trap interface function not yet supported.

            \see trap_stubs_autogen.c for trap stubs generated from the platform
            interface files. 

            This file contains traps that have been modified.
            \li Provide basic functionality
            \li Problem with autogenerated trap
            \li Other functions supplied as part of the platform code
*/

#if !defined(__KALIMBA__) || defined(HOSTED_TEST_ENVIRONMENT)
/* make, as opposed to SCons, compiles in all cases 
   Not needed for Kalimba */

#include <stdlib.h>     /* for malloc */
#include <logging.h>    /* for hydra_log_firm_variadic */

#include <trap_stubs.h>

#if 0 /* This trap has a different signature to that in vm.h */
bool VmReadNextSniffClock(uint16 handle, next_sniff_clock_t * next_sniff)
{
    UNUSED(handle);
    UNUSED(next_sniff);
    return FALSE;
}
#endif 

#if 0 /* These traps are having local implementation */
CsrMblk *CsrMblkDataCreate(void *block, CsrMblkSize block_size, CsrBool free_block)
{
    UNUSED(block);
    UNUSED(block_size);
    UNUSED(free_block);

    return (CsrMblk *)0;
}

void CsrMblkDestroy(CsrMblk *mblk)
{
    UNUSED(mblk);
}
#endif

#endif /* !__KALIMBA__ || HOSTED_TEST_ENVIRONMENT */

